import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {ProjectFilesComponent} from "./project-files-management/project-files.component";
import {FilesVersionListComponent} from "./files-version-management/files-version-list.component";
import {ProjectFilesDetailComponent} from "./project-files-management/project-files-detail.component";
import {HistoryVersionsComponent} from "./history-versions/history-versions.component";


const routes: Routes = [
  {
    path: '', children: [
      {path: 'project-files-management', component: ProjectFilesComponent},
      {path: 'project-files-detail', component: ProjectFilesDetailComponent},
      {path: 'files-version-list', component: FilesVersionListComponent},
      {path: 'history-versions', component: HistoryVersionsComponent},

    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class ProjectFilesRoutingModule {
}
